$(function(){
    $('.search-bottom').children().click(function(){
         $('.search-hd>h1').hide();
         $('.search-hd').css({'height':'112px','animation':'all 0.5s'});
         $('.search').css({'margin-top':'10px','position':'fixed','left':'50%','transform':'translateX(-50%)'});
         $('.search-content').hide();
         $('.tag').show();
         $('.back').show();
    })
    $('.back').click(function(){
        $('.search-hd>h1').show();
        $('.search-hd').css({'height':'300px','animation':'all 0.5s'});
        $('.search').css({'position':'absolute','margin-top':'70px'});
        $('.search-content').show();
        $('.tag').hide();
        $('.back').hide();
    })
})
